<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:f="http://java.sun.com/jsf/core"
      xmlns:p="http://primefaces.org/ui"
      xmlns:ui="http://java.sun.com/jsf/facelets">


    <ui:composition template="/layout/applicationLayout.xhtml">
        <ui:define name="body">
            <h:form>
                 <p:panel style="text-align: center;height: 50px;" > FREELANCER <div style="float: right;"><p:commandButton style="width:100px;" ajax="false" action="#{usuarioSessaoBean.logoff()}" value="Sair"/> </div></p:panel>
            </h:form>
                <p:tabView id="tabPerfil" dynamic="true" cache="false">  

                    <p:tab id="tabProjeto" title="PROJETOS">  
                        <h:panelGrid columns="2" cellpadding="10">  
                   		    <ui:include src="/projeto/projetos.xhtml"/>
                        </h:panelGrid>
                    </p:tab>  

                    <p:tab id="tabContrato" title="CONTRATOS">  
                        <h:panelGrid columns="2" cellpadding="10">  
                          <ui:include src="/contrato/contratos.xhtml"/>  
                        </h:panelGrid>  
                    </p:tab>  

                    <p:tab id="tab3" title="PERFIL">  
                        <h:panelGrid columns="2" cellpadding="10">  
                            <ui:include src="perfil.xhtml"/> 
                        </h:panelGrid>  
                    </p:tab>  

                </p:tabView> 
        </ui:define>

    </ui:composition>



</html>

